package com.javatoc.multparam;

/**
 * 进行java调用C的多参数
 * 
 * @author liujun
 * @version 1.0.0
 * @since 2017年9月5日 下午6:10:03
 */
public class TestJavaToCMultParamNative {
	static {
		try {
			System.out.println("加载库信息:" + System.getProperty("java.library.path"));
			System.loadLibrary("com_javatoc_multparam_JavaToCMultParamNative"); // 没有lib前缀
		} catch (UnsatisfiedLinkError e) {
			System.out.println("Cannot load hello library:\n " + e.toString());
		}
	}

	public static void main(String[] args) {

		JavaToCMultParamNative objinstance = new JavaToCMultParamNative();
		System.out.println();
		objinstance.outIntMultParam(1);
		System.out.println();
		objinstance.outFloatMultParam(0.01f);

	}
}
